package cn.edu360.day09.bean;

import java.io.Serializable;

/**
 * 返回结果
 */
public class Respons implements Serializable{
    private UserResult result;
    private String status;//跟浏览器返回的状态码是一样的

    public UserResult getResult() {
        return result;
    }

    public void setResult(UserResult result) {
        this.result = result;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Respons{" +
                "result=" + result +
                ", status='" + status + '\'' +
                '}';
    }
}
